package order

import (
	"context"
	pb "git.mycaigou.com/gfyx/micro-gfyx-oppty-service/proto/micro_gfyx_oppty_service_proto/micro-gfyx-oppty-service/business_opportunity"
)

type OrderServiceIface interface {
	SaveOrder(ctx context.Context, request *pb.SaveOrderRequest) (int64, bool, error)
	PreviewOrder(ctx context.Context, request *pb.PreviewOrderRequest) (*pb.PreviewOrderResponse, error)
	QueryOrderList(ctx context.Context, request *pb.GetOrderListRequest) (*pb.GetOrderListResponse, error)
	OrderDetail(ctx context.Context, request *pb.GetOrderDetailRequest) (*pb.GetOrderDetailResponse, error)
}
